﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using System.Data;

namespace logic
{
    public class salesPercentage
    {
        public static int calculatePercentage(int did, int adminid)
        {
            return SalesPercentage.calculatePercentage(did,adminid);
        }
        public static DataSet select(string where, string orderby, int pagesize, int pageindex)
        {
            return DAL.DbHelper.ExecuteDataSetPageSize("*", "vw_SalesPercentage_list", where, "spid", orderby, pagesize, pageindex);
        }
    }
}
